#ifndef SLIDER_HPP
#define SLIDER_HPP

#include "ui/controls/control_base.hpp"

class slider : public ui_control {
public:
    using ui_control::ui_control;

protected:
    void update_data(bindable_base *data) override;
    void init_content(const xml_node &node) override;
    void draw_self() override;

private:
    data_provider_p value_;
    data_provider_p min_;
    data_provider_p max_;
};

#endif // SLIDER_HPP
